package timetable.student;

public class Tdata {
private int ID;
private int day;
private String module;
private String lecturer;
private String room;
private String timeStart;
private String timeEnd;

public Tdata(int id,int day, String module,String lectuerer,String room,String timeStart,String timeEnd)
{
	this.ID= id;
	this.day = day;
	this.module = module;
	this.lecturer = lectuerer;
	this.room = room;
	this.timeStart = timeStart;
	this.timeEnd = timeEnd;
	
	
}

public String getDay()
{
	switch(this.day)
	{
	case 1:
		return "Monday";
	case 2:
		return "Tuesday";
	case 3:
		return "Wednesday";
	case 4:
		return "Thursday";
	case 5:
		return "Friday";
	default:
		return "Error";
			
	}
}
public String getModule()
{
	return this.module;
}
public String getRoom()
{
	return this.room;
}
public String getStartTime()
{
	return this.timeStart;
		
}
public String getLecturer()
{
	return this.lecturer;
}

public String getEndTime()
{
	return this.timeEnd;
}
public int getId()
{
	return this.ID;
}


}
